Each irp has a major and a minor function code 每個irp具有一個主要和一個次要函數(shù)代碼。
The major function code indicates what sort of request the irp contains 主要函數(shù)代碼指示: irp包含的請求種類。
For function code , parameters are added as properties of the variable object 對于函數(shù)代碼,參數(shù)也被作為屬性添加進去。
When you are finished modifying the function code , right - click the function name and select 當(dāng)完成對函數(shù)代碼的修改時,在函數(shù)名上單擊右鍵并選擇
With some of the major function codes , including irp _ mj _ pnp , the minor function code is required to further specify the operation 伴隨一些主要函數(shù)代碼,包括irp _ mj _ pnp ,次要代碼被請求作更專門的操作。